import request from '@/utils/request'

export function getCourse(data){
  return request({
    url:'/gym-admin/class_table/list',
    method:'',
    data
  })
}

export function addCourse(data){
  return request({
    url:'/gym-admin/class_table/add',
    method:'',
    data
  })
}

export function updateCourse(data){
  return request({
    url:'/gym-admin/class_table/edit',
    method:'',
    data
  })
}

export function deleteCourse(data){
  return request({
    url:'/gym-admin/class_table/delete',
    method:'',
    data
  })
}